home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / arcers / zsshl2fr.zip / ZZIP2EXE.BA_ / ZZIP2EXE.BAT
DOS Batch File  |  1995-01-10  |  959b  |  31 lines

  1. @echo off
  2. REM ZZIP2EXE -------------------------------------
  3. REM Batch file to use ZIP2EXE with the ZS Shell
  4. REM %1 is the ZIP file name
  5. REM %2 is the dest dir
  6. REM 
  7. REM We use a temp directory named 897436
  8. REM make sure you don' t use such a directory
  9. REM to avoid a possible blanking...
  10. REM --------------------------------------------
  11. REM Goto the Zip Studio EXTERN directory
  12. REM We use it to keep some space for the
  13. REM command line. (Please check GO_ZSHL.BAT)
  14. REM to adapt it to your configuration).
  15. CALL GO_ZSHL.BAT
  16. REM Build a temp subdirectory
  17. MD 897436
  18. CD 897436
  19. REM expand the files to this directory
  20. ZIP2EXE %1
  21. REM Going to the default directory
  22. CD..
  23. REM copy the EXE file to the destdir
  24. COPY 897436\*.EXE %2
  25. REM Deleting the temp directory ----------------
  26. REM Available with MSDOS 6.0, for the previous
  27. REM release use DEL *., DEL *.? .. and so on.
  28. REM --------------------------------------------
  29. DELTREE /Y 897436
  30.  
  31.